package com.qf.mapper;/*
 *徐韬
 *2021/11/5
 *14:20
 */

import com.github.pagehelper.PageInfo;
import com.qf.pojo.TAcountRecord;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface acountRecordMapper {
    @Select("select * from t_acount_record")
    List<TAcountRecord> selectAll();
    @Insert("insert into t_acount_record values(0,#{orderid},#{clientId},#{paidValue},#{createTime},#{payTime},#{paymentId},#{paymentOrder},#{paymentInfo})")
    int insert(TAcountRecord tAcountRecord);
    int update(TAcountRecord tAcountRecord);
    int deleteByIds(@Param("ids") List<Integer> ids);

}
